/**
 * 线路相关
 * @author：丁少华
 * @param：
 * @throws：
 * @time：2018/7/5
 */
import address from '../pages/mine/address.vue'
import invite from '../pages/mine/invite.vue'
import my_code from '../pages/mine/my_code.vue'
import company_code from '../pages/mine/company_code.vue'
import publishTrans from '../pages/mine/publishTrans.vue'
import add_driver from '../pages/mine/add_driver.vue'
import traffic_tixianset from '../pages/mine/traffic_tixianset.vue'
import traffic_smartpush from '../pages/mine/traffic_smartpush.vue'
import publishTransSu from '../pages/mine/publishTransSu.vue'
import addDriverSu from '../pages/mine/addDriverSu.vue'
import creatDriverDemand from '../pages/mine/creatDriverDemand.vue'
import setting from '../pages/mine/setting.vue'
import companyPage from '../pages/mine/companyPage.vue'
import trafficTixiansetSu from '../pages/mine/trafficTixiansetSu.vue'
import businessSetting from '../components/businessSetting.vue'
import selectDriver from '../pages/mine/selectDriver.vue'
import selectDriverSu from '../pages/mine/selectDriverSu.vue'
import trafficCouponSu from '../pages/mine/trafficCouponSu.vue'
import trafficCouponLogSu from '../pages/mine/trafficCouponLogSu.vue'
import bsLogistics from '../pages/mine/bsLogistics.vue'
import personalPage from '../pages/mine/personalPage.vue'


//统计
import finance_index from '../pages/mine/finance_index.vue'
import finance_balance from '../pages/mine/finance_balance.vue'
import finance_reflect from '../pages/mine/finance_reflect.vue'

//红包设置
import traffic_coupon from '../pages/mine/traffic_coupon.vue'
import traffic_couponlog from '../pages/mine/traffic_couponlog.vue'

export default [
  {
    path: '/mine/address/', //地址管理
    component: address
  },
  {
    path: '/mine/invite/', //添加邀请
    component: invite
  },
  {
    path: '/mine/my_code/', //个人二维码
    component: my_code
  },

  {
    path: '/mine/company_code/', //企业二维码
    component: company_code
  },
  {
    path: '/mine/finance_index/', //统计
    component: finance_index
  },
  {
    path: '/mine/finance_balance/:value', //信息费余额
    component: finance_balance
  },
  {
    path: '/mine/finance_reflect/', //提现
    component: finance_reflect
  },
  {
    path: '/mine/publishTrans/', //指派司机
    component: publishTrans
  },
  {
    path: '/mine/add_driver/', //添加车辆
    component: add_driver
  },
  {
    path: '/mine/traffic_coupon/', //红包设置
    component: traffic_coupon
  },
  {
    path: '/mine/traffic_couponlog/:id?', //红包发放列表
    component: traffic_couponlog
  },
  {
    path: '/mine/traffic_tixianset/', //提现设置
    component: traffic_tixianset
  },
  {
    path: '/mine/traffic_smartpush/', //开通服务
    component: traffic_smartpush
  },
  {
    path: '/mine/address/:source?',
    component: address
  },
  {
    path: '/mine/publishTransSu/', //指派司机
    component: publishTransSu
  },
  {
    path: '/mine/addDriverSu/', //指派司机
    component: addDriverSu
  },
  {
    path: '/mine/creatDriverDemand/', //指派司机
    component: creatDriverDemand,
    options: {
      animate: true
      // history:true,
      // reload:false,
      // cache:true,
      // reloadCurrent:false,
      // pushState:false
    }
  },
  {
    path: '/mine/setting/', //设置
    component: setting
  },
  {
    path: '/mine/companyPage/:param', //企业主页卡片
    component: companyPage
  },
  {
    path: '/mine/trafficTixiansetSu', //企业主页卡片
    component: trafficTixiansetSu
  },
  {
    path: '/mine/businessSetting/', //企业主页卡片
    component: businessSetting
  },
  {
    path: '/mine/selectDriver/', //选择车辆
    component: selectDriver
  },
  {
    path: '/mine/selectDriverSu/', //选择车辆
    component: selectDriverSu
  },
  {
    path: '/mine/trafficCouponSu/', //红包设置
    component: trafficCouponSu
  },
  {
    path: '/mine/trafficCouponLogSu/:cardId?', //红包列表
    component: trafficCouponLogSu
  },
  {
      path: '/mine/bsLogistics/', //双方物流
      component: bsLogistics
  },
  {
      path: '/mine/personalPage/:param', //个人主页
      component: personalPage
  }

]
